
// 自动生成模板ProjectTypes
package hairmember
import (
	"time"
)

// projectTypes表 结构体  ProjectTypes
type ProjectTypes struct {
  Id  *int64 `json:"id" form:"id" gorm:"primarykey;column:id;"`  //id字段
  TypeCode  *int64 `json:"typeCode" form:"typeCode" gorm:"comment:类型编码;column:type_code;"`  //类型编码
  TypeName  *string `json:"typeName" form:"typeName" gorm:"comment:类型名称;column:type_name;size:50;"`  //类型名称
  Price  *float64 `json:"price" form:"price" gorm:"comment:项目价格;column:price;size:10;"`  //项目价格
  Description  *string `json:"description" form:"description" gorm:"comment:描述;column:description;size:255;"`  //描述
  Status  *int64 `json:"status" form:"status" gorm:"comment:状态：1启用 0禁用;column:status;"`  //状态：1启用 0禁用
  CreatedAt  *time.Time `json:"createdAt" form:"createdAt" gorm:"column:created_at;"`  //createdAt字段
}


// TableName projectTypes表 ProjectTypes自定义表名 project_types
func (ProjectTypes) TableName() string {
    return "project_types"
}





